package com.css.fxfzypg.modules.maps.service;

import com.css.fxfzypg.modules.baseData.entity.AreaEntity;
import com.css.fxfzypg.modules.baseData.queryParams.AreaQueryParams;
import com.css.fxfzypg.modules.maps.queryParams.MapQueryParams;

import java.util.List;
import java.util.Map;

public interface AreaMapService {
    //文件查询
    public Map<String,Object> getAllFile(MapQueryParams queryParams);

    //全查询
    public Map<String,Object> getAllData(AreaQueryParams queryParams);

    //数据数量查询
    public int getAllDataCount(AreaQueryParams queryParams);

    //根据ID查询数据
    public Map<String,Object> getDataById(String id);

    //逻辑删除文件及相关数据
    public void deleteFileData(List<String> ids, String userId);

    //校验并保存
    public String checkSHPFiles(String filePath, String province, String city, String area, String formatDate, String userID);

    Integer countByCounty(String province, String city, String county);
    Integer countByCity(String province, String city);
    Integer countByProvince(String province);

    List<String> getByCounty(String province, String city, String county);

    Integer countByProvinceAndYear(String provinceName, String taskYear);
    List<String> getAllByTaskDirtrict(String geom);
}
